import ReactDOM from "react-dom/client";
import "normalize.css";
import { RouterProvider } from "react-router-dom";
import router from "./router";
import { ConfigProvider } from "antd";
import zh_CN from "antd/lib/locale/zh_CN";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";
import "./index.scss";
dayjs.locale("zh-cn");

ReactDOM.createRoot(document.getElementById("root")!).render(
  <ConfigProvider locale={zh_CN}>
    <RouterProvider router={router} />
  </ConfigProvider>
);
